#include "stdafx.h"

#include "thermal_calc_model.h"

namespace blue_sky
{

	template <typename strategy_t>
	void thermal_calc_model_data_tmp_holder<strategy_t>::save (const sp_calc_model_t &cm)
	{
		temperature.assign (cm->temperature.begin (), cm->temperature.end ());
	}

	template <typename strategy_t>
	void thermal_calc_model_data_tmp_holder<strategy_t>::restore (sp_calc_model_t &cm)
	{
		cm->temperature.assign (temperature.begin (), temperature.end ());
	}

	template struct thermal_calc_model_data_tmp_holder<base_strategy_fi>;
	template struct thermal_calc_model_data_tmp_holder<base_strategy_di>;
	template struct thermal_calc_model_data_tmp_holder<base_strategy_mixi>;

}